package com.amigo.online.provider.manager.model.entity;


import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "merchant_adv_tbl")
@Alias(value = "merchantAdvTbl")
public class MerchantAdvTbl extends PageDto {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     * 广告
     */
    @Column(name = "img_url")
    private String imgUrl;

    /**
     * 跳转id(商户id或者商品id)
     */
    @Column(name = "jump_id")
    private Long jumpId;

    /**
     * 1-商户 2-商品
     */
    @Column(name = "type")
    private Integer type;

    @Column(name = "updated_time")
    private Long updatedTime;

    /**
     * 1删除 0未删除
     */
    @Column(name = "deleted")
    private Integer deleted;

    @Column(name = "deleted_time")
    private Long deletedTime;

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Long getJumpId() {
        return jumpId;
    }

    public void setJumpId(Long jumpId) {
        this.jumpId = jumpId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getDeletedTime() {
        return deletedTime;
    }

    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }

}
